lcRPlanGetPoint Home

Retrieves a point on a road plan by distance from beginning.

 BOOL lcRPlanGetPoint (
   HANDLE hRPlan,
   double Dist,
   double* pX,
   double* pY,
   double* pAngle,
   int* pSide
 );

Parameters
hRPlan
  Handle to a road plan object.
Dist
  Distance from beginning of road plan object.
pX pY
  Pointers to variables that will receive the found point coordinates.
pAngle
  Pointer to variable that will receive tangent angle at the found point.
pSide
  Pointer to variable that will receive turn side at the found point. Can be the following output values:
 0 - the point is placed at straight line.
 1 - the point is placed at curve that turns to left side.
-1 - the point is placed at curve that turns to right side.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample,   lcRPlanGetDist,   lcRPlanSetCurve